package com.hxk;

import com.hxk.starter.HxkTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HxkController {

    @Autowired
    private HxkTemplate hxkTemplate;

    @ResponseBody
    @GetMapping("/test")
    public String test(){
        return hxkTemplate.introduction("hxk");
    }
}
